package com.nobody.facepk.model;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.nobody.facepk.persist.VersionedPersistentSupport;

@Entity
@Table(name="T_MATCH")
public class Match extends VersionedPersistentSupport{
	private Long hostId;
	private Long guestId;
	private int hostWins;
	private int guestWins;
	private long time;
	
	public Long getHostId() {
		return this.hostId;
	}
	public void setHostId(Long hostId) {
		this.hostId = hostId;
	}
	public Long getGuestId() {
		return this.guestId;
	}
	public void setGuestId(Long guestId) {
		this.guestId = guestId;
	}
	public int getHostWins() {
		return this.hostWins;
	}
	public void setHostWins(int hostWins) {
		this.hostWins = hostWins;
	}
	public int getGuestWins() {
		return this.guestWins;
	}
	public void setGuestWins(int guestWins) {
		this.guestWins = guestWins;
	}
	public long getTime() {
		return this.time;
	}
	public void setTime(long time) {
		this.time = time;
	}
}
